<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>首页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/bootstrap-datetimepicker.css" rel="stylesheet" />
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="fontAwesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="css/common.css" rel="stylesheet" />
    <link href="css/currency.css" rel="stylesheet" />
    <link href="css/main.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/bootstrap-datetimepicker.js"></script>
    <script type="text/javascript" src="js/bootstrap.js"></script>
  </head>
<body>
    <div class="main-content">
        <div class="nav-list-title">
            <ul class="list-title-crumbs">
                <li>
                  <i class="fa fa-map-marker mainTone"></i>
                  <a class="text">客户列表</a>
                  <i class="fa fa-angle-right"></i>
                </li>
                <li><a class="mainTone">编辑</a></li>
            </ul>
        </div>
        <div class="item-info-surround">
            <h3 class="item-title">查询条件</h3>
            <ul class="exhibition-list">
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">项目名称:</label>
                        <div class="template-controls">
                            <select class="form-control">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">经纪人:</label>
                        <div class="template-controls">
                            <select class="form-control">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">意向选择:</label>
                        <div class="template-controls">
                            <select class="form-control">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">客户状态:</label>
                        <div class="template-controls">
                            <select class="form-control">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">客户性质:</label>
                        <div class="template-controls">
                            <select class="form-control">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">首次接触方式:</label>
                        <div class="template-controls">
                            <select class="form-control">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">首次接触日期间:</label>
                        <div class="template-controls">
                            <div class="time-selector">
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                              <div class="interval-span">-</div>
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                            </div>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">最后跟进时间:</label>
                        <div class="template-controls">
                            <div class="time-selector">
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                              <div class="interval-span">-</div>
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                            </div>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">客户手机查询:</label>
                        <div class="template-controls">
                            <input type="text" class="form-control" placeholder="请输入手机号">
                        </div>
                    </div>
                </li>
                <li class="col-md-12">
                    <div class="currency-template-query">
                        <label class="template-title">需求面积:</label>
                        <div class="template-controls">
                            <ul class="checkbox">
                                <li>
                                    <label>
                                      <input type="checkbox" >90m²以下
                                    </label>
                                </li>
                                <li>
                                    <label>
                                      <input type="checkbox" >90m²-120m²
                                    </label>
                                </li>
                                <li>
                                    <label>
                                      <input type="checkbox" >90m²-120m²
                                    </label>
                                </li>
                                <li>
                                    <label>
                                      <input type="checkbox" >90m²-120m²
                                    </label>
                                </li>
                                <li>
                                    <label>
                                      <input type="checkbox" >90m²-120m²
                                    </label>
                                </li>
                            </ul>
                        </div>
                    </div>
                </li>
            </ul>
            <div class="query-operation">
                <div class="fr">
                    <button class="btn">新增</button>
                    <button class="btn" data-toggle="modal" data-target="#myModalThr">批量导入</button>
                    <button class="btn">查询</button>
                    <button class="btn">批量分配</button>
                    <span>已勾选0条</span>
                    <a href="javascript:;" class="empty">清空</a>
                </div>
            </div>
        </div>
        <div class="item-info-surround">
            <ul class="nav-list-cell">
              <li class="active"><a href="javascript:;">全部（1）</a><span class="col">|</span></li>
              <li><a href="javascript:;">逾期未签约（1）</a><span class="col">|</span></li>
              <li><a href="javascript:;">待处理客户（1）</a><span class="col">|</span></li>
              <li><a href="javascript:;">待处理客户（1）</a></li>
            </ul>
            <div class="table-responsive">
                <table class="table table-striped table-bordered min-width-1150">
                    <thead>
                        <tr>
                            <th><input type="checkbox" /></th>
                            <th>客户名称</th>
                            <th>联系电话</th>
                            <th>性别</th>
                            <th>生日</th>
                            <th>意向等级</th>
                            <th>首次接触方式</th>
                            <th>沟通内容</th>
                            <th>最后跟进内容</th>
                            <th>最后跟进时间</th>
                            <th>跟进次数</th>
                            <th>经纪人</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td><input type="checkbox" /></td>
                            <td class="tl">王木木</td>
                            <td>13817486548</td>
                            <td>男</td>
                            <td>1992-10-16</td>
                            <td>D</td>
                            <td>邮件</td>
                            <td>调监控</td>
                            <td><a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModalFour">图片地址</a></td>
                            <td>2016-12-31</td>
                            <td>200</td>
                            <td>拖拉机</td>
                            <td>
                                <a href="javascript:;" class="operationBtn">查看</a>
                                <a href="javascript:;" class="operationBtn">编辑</a>
                                <a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModal">写跟进</a>
                                <a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModalTwo">分配</a>
                            </td>
                        </tr>
                        <tr>
                            <td><input type="checkbox" /></td>
                            <td class="tl">王木木</td>
                            <td>13817486548</td>
                            <td>男</td>
                            <td>1992-10-16</td>
                            <td>D</td>
                            <td>邮件</td>
                            <td>调监控</td>
                            <td><a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModalFour">图片地址</a></td>
                            <td>2016-12-31</td>
                            <td>200</td>
                            <td>拖拉机</td>
                            <td>
                                <a href="javascript:;" class="operationBtn">查看</a>
                                <a href="javascript:;" class="operationBtn">编辑</a>
                                <a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModal">写跟进</a>
                                <a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModalTwo">分配</a>
                            </td>
                        </tr>
                        <tr>
                            <td><input type="checkbox" /></td>
                            <td class="tl">王木木</td>
                            <td>13817486548</td>
                            <td>男</td>
                            <td>1992-10-16</td>
                            <td>D</td>
                            <td>邮件</td>
                            <td>调监控</td>
                            <td><a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModalFour">图片地址</a></td>
                            <td>2016-12-31</td>
                            <td>200</td>
                            <td>拖拉机</td>
                            <td>
                                <a href="javascript:;" class="operationBtn">查看</a>
                                <a href="javascript:;" class="operationBtn">编辑</a>
                                <a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModal">写跟进</a>
                                <a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModalTwo">分配</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- 弹出层 -->
        <div class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                      <h4 class="modal-title" id="myModalLabel">写跟进</h4>
                    </div>
                    <div class="modal-body">
                        <div class="modal-eject">
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label">跟进方式：</label>
                                <div class="col-sm-9">
                                    <select class="form-control">
                                        <option>请选择</option>
                                        <option>1</option>
                                        <option>2</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label">跟进方式：</label>
                                <div class="col-sm-9">
                                    <textarea class="form-control"></textarea>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label">下次提醒时间：</label>
                                <div class="col-sm-9">
                                    <div class="time-selector">
                                        <div class="time-selector-list date form_datetime">
                                            <input type="text" class="form-control" placeholder="请选择">
                                            <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                                        </div>
                                        <select class="form-control form-control-sm">
                                            <option>请选择</option>
                                            <option>1</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label">下次提醒内容：</label>
                                <div class="col-sm-9">
                                    <textarea class="form-control"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                      <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                      <button type="button" class="btn checkedBtn">确定</button>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal fade" id="myModalTwo" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                      <h4 class="modal-title" id="myModalLabel">分配</h4>
                    </div>
                    <div class="modal-body">
                        <div class="modal-eject">
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label"><span class="required">*</span>销售组名称：</label>
                                <div class="col-sm-9">
                                    <select class="form-control">
                                        <option>请选择</option>
                                        <option>1</option>
                                        <option>2</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label"><span class="required">*</span>经济人：</label>
                                <div class="col-sm-9">
                                    <select class="form-control">
                                        <option>请选择</option>
                                        <option>1</option>
                                        <option>2</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                      <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                      <button type="button" class="btn checkedBtn">确定</button>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal fade" id="myModalThr" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                      <h4 class="modal-title" id="myModalLabel">分配</h4>
                    </div>
                    <div class="modal-body">
                        <div class="modal-eject">
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label">导入excel：</label>
                                <div class="col-sm-9">
                                    <input type="file" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                      <button type="button" class="btn btn-default"><i class="fa fa-cloud-download"></i>模板下载</button>
                      <button type="button" class="btn checkedBtn">开始导入</button>
                    </div>
                </div>
            </div>
        </div>
        <!-- 图片查询 -->
        <div class="modal fade" id="myModalFour" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <!-- <div class="modal-header">
                      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                      <h4 class="modal-title" id="myModalLabel">图片</h4>
                    </div> -->
                    <div class="modal-body">
                        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                          <!-- Wrapper for slides -->
                          <div class="carousel-inner" role="listbox">
                            <div class="item active">
                              <img src="1.jpg" alt="...">
                            </div>
                            <div class="item">
                              <img src="1.jpg" alt="...">
                            </div>
                          </div>
                          <!-- Controls -->
                          <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                            <span class="glyphicon-carousel"><i class="fa fa-chevron-left"></i></span>
                            <span class="sr-only">Previous</span>
                          </a>
                          <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                            <span class="glyphicon-carousel"><i class="fa fa-chevron-right"></i></span>
                            <span class="sr-only">Next</span>
                          </a>
                        </div>    
                    </div>
                </div>
            </div>
        </div>
    </div> 
</body>
<script type="text/javascript">
    $(function(){
        
        $(".form_datetime").datetimepicker({
            format: "yyyy-mm-dd",//日yyyy-mm-dd hh:ii
            autoclose: true,
            todayBtn: true,
            minView:2,//显示到天设置2、显示到时设置1、显示到分设置0
            startView:2,//首先显示的视图
            pickerPosition: "bottom-left"
            // startDate: "2016-12-14 10:00"
        });

        $(".nav-list-cell li").click(function(){
             $(this).addClass("active").siblings().removeClass("active");
        })

        $('.carousel').carousel({
          wrap: false
        })
    })
</script>
</html>
